{template "nheader.html"}
<script type="text/javascript">
    $(function(){
        $.getScript("{dr_url('home/mtotal')}");
    });
</script>
<!-- BEGIN PAGE BAR -->
<div class="page-bar">
    <ul class="page-breadcrumb">
        <li>
            <a href="{dr_url('home/main')}">{fc_lang('网站后台')}</a>
            <i class="fa fa-circle"></i>
        </li>
        <li>
            <a class="blue">{fc_lang('总览')}</a>
        </li>
    </ul>
    <div class="page-toolbar">
    </div>
</div>
<!-- END PAGE BAR -->

<!-- BEGIN PAGE TITLE-->
<h3 class="page-title">
    <small></small>
</h3>

{if $ip}
<div class="alert alert-block alert-danger fade in">
    <button type="button" class="close" data-dismiss="alert"></button>
    <p> {$ip} </p>
</div>
{/if}
<dayrui>



<div class="alert alert-block alert-danger fade in">
    <p> <a style="color:red" href="http://www.dayrui.com/cms/" target="_blank">大众体验版仅供购买前的体验和学习，禁止正式建站使用，http://www.dayrui.com/cms/。</a> </p>
    <p> <a style="color:red" href="http://www.finecms.net/" target="_blank">大众体验版是正式版的精简版本，更多内容体验请到：http://www.finecms.net/。</a> </p>
    <p> <a style="color:red" href="http://www.php7cms.com/" target="_blank">定制cms建站程序，请关注我们PHP7CMS定制程序：http://www.php7cms.com/。</a> </p>
</div>

{template "main2.html"}

<div class="row">
    <div class="col-md-6 col-sm-6">
        <div class="portlet light ">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-bar-chart font-green-sharp" style="font-size: 20px;"></i>
                    <span class="caption-subject font-green-sharp  ">{fc_lang('数据统计')}</span>
                </div>
            </div>
            <div class="portlet-body">
                <div>
                    <table class="table mtable table-nomargin table-bordered table-striped table-bordered">
                        <thead>
                        <tr>
                            <th style="text-align:center">{fc_lang('模块')}</th>
                            <th style="text-align:center">{fc_lang('总数据')}</th>
                            <th style="text-align:center">{fc_lang('今日')}</th>
                            <th style="text-align:center">{fc_lang('审核')}</th>
                            <th style="text-align:center">{fc_lang('扩展审核')}</th>
                        </tr>
                        </thead>
                        <tbody>
                        {loop $mtotal $dir $t}
                        <tr>
                            <td style="text-align:center">{$t.name}</td>
                            <td style="text-align:center"><a class="drlabel drlabel-success" href="{$t.content}" id="{$dir}_content"><img src="{THEME_PATH}admin/images/mloading.gif"></a></td>
                            <td style="text-align:center"><a class="drlabel drlabel-success" href="{$t.today}" id="{$dir}_today"><img src="{THEME_PATH}admin/images/mloading.gif"></a></td>
                            <td style="text-align:center"><a class="drlabel drlabel-important" href="{$t.content_verify}" id="{$dir}_content_verify"><img src="{THEME_PATH}admin/images/mloading.gif"></a></td>
                            <td style="text-align:center"><a class="drlabel drlabel-important" href="{$t.extend_verify}" id="{$dir}_extend_verify"><img src="{THEME_PATH}admin/images/mloading.gif"></a></td>
                        </tr>
                        {/loop}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="col-md-6 col-sm-6">
        <div class="portlet light ">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-cog font-red-sunglo" style="font-size: 20px;"></i>
                    <span class="caption-subject font-red-sunglo">系统信息</span>
                </div>
            </div>
            <div class="portlet-body">
                <div>
                    <table class="table table-light mtable">
                        <tr>
                            <td class="mleft" align="right">{fc_lang('程序内核')}：</td>
                            <td>&nbsp;FineCMS高级版大众体验&nbsp; <span id="finecms_version"></span></td>
                        </tr>
                        <tr>
                            <td class="mleft" align="right">{fc_lang('服务器环境')}：</td>
                            <td>&nbsp;{$server} 、PHP{PHP_VERSION} 、MySql{$sqlversion}</td>
                        </tr>
                        <tr>
                            <td class="mleft" align="right">{fc_lang('上传最大值')}：</td>
                            <td>&nbsp;{php echo @ini_get("upload_max_filesize");} </td>
                        </tr>
                        <tr>
                            <td class="mleft" align="right">{fc_lang('POST最大值')}：</td>
                            <td>&nbsp;{php echo @ini_get("post_max_size");}</td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div class="portlet light ">
            <div class="portlet-title">
                <div class="caption">
                    <i class="fa fa-volume-down font-blue-hoki" style="font-size: 20px;"></i>
                    <span class="caption-subject font-blue-hoki">{fc_lang('通知提醒')}</span>
                </div>
                <ul class="nav nav-tabs">
                    <li class="">
                        <a href="{$notice_url}" class="active"> {fc_lang('全部')} </a>
                    </li>
                </ul>
            </div>
            <div class="portlet-body">
                <div >
                    {if !$notice}
                    <div style="text-align: center"> {fc_lang('无任何提醒')} </div>
                    {else}

                    <ul class="feeds">
                        {loop $notice $t}
                        <li>
                            <a href="{dr_url('notice/go', array('id' => $t.id))}">
                                <div class="col1">
                                    <div class="cont">
                                        <div class="cont-col1">
                                            {if $t.type =='system'}
                                            <div class="label label-sm label-danger">
                                                <i class="fa fa-bell-o"></i>
                                            </div>
                                            {else if $t.type =='content'}
                                            <div class="label label-sm label-warning">
                                                <i class="fa fa-th-large"></i>
                                            </div>
                                            {else if $t.type =='app'}
                                            <div class="label label-sm label-info">
                                                <i class="fa fa-cloud"></i>
                                            </div>
                                            {else if $t.type =='member'}
                                            <div class="label label-sm label-success">
                                                <i class="fa fa-user"></i>
                                            </div>
                                            {/if}
                                        </div>
                                        <div class="cont-col2">
                                            <div class="desc mdesc"> {$t.msg} </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col2">
                                    <div class="date"> {dr_date($t.inputtime,'m-d')} </div>
                                </div>
                            </a>
                        </li>
                        {/loop}
                    </ul>
                    {/if}
                </div>
            </div>
        </div>
    </div>

</div>


{template "nfooter.html"}